﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
//using Telerik.WinControls.UI;

namespace TimeTracker
{
    public partial class Calendar : Form
    {
        public Calendar()
        {
            InitializeComponent();

            AppointmentMappingInfo appointmentMappingInfo = new AppointmentMappingInfo();
            appointmentMappingInfo.Start = "StartTime";
            appointmentMappingInfo.End = "EndTime";
            appointmentMappingInfo.Description = "ProjectName";

            schedulerBindingDataSource1.EventProvider.Mapping = appointmentMappingInfo;
            schedulerBindingDataSource1.EventProvider.DataSource = Manager.Instance.GetSessions();

            

            radScheduler1.DataSource = schedulerBindingDataSource1;
        }

        private void radScheduler1_Click(object sender, EventArgs e)
        {

        }
    }
}
